package com.shuangdj.databinding.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import java.util.List;

/**
 * Created by linxiaoke on 17/4/11.
 */

public class TAdapter<T> extends BaseAdapter {

    List<T> tList;
    Context context;

    public TAdapter(Context context, List<T> tList) {
        this.context = context;
        this.tList = tList;
    }

    public void setData(List<T> tList) {
        this.tList = tList;
        notifyDataSetChanged();
    }


    @Override
    public int getCount() {
        return 0;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        return null;
    }
}
